package com.tuo51.evaluate.domain.evaluatingV2;

import com.tuo51.foudation.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 测评维度
 */

@Data
@Entity
@Table(name = "tb_evaluate_dimension")
@EqualsAndHashCode(callSuper = true)
    public class EvaluateV2Dimension extends Domain {

    @Column(columnDefinition = "varchar(50) COMMENT '维度'")
    private String name;

    @Column(columnDefinition = "int default 0 COMMENT '维度码'")
    private Integer code;

    @Column(columnDefinition = "int default 0 COMMENT '最大支持月份'")
    private Integer maxMonth;

    @Column(columnDefinition = "int default 0 COMMENT '分数状态，0取起始月龄， 1，清零'")
    private Integer defaultValueType;

    @Column(name = "recommend_tips", columnDefinition = "varchar(500) COMMENT '荐课tips'")
    private String recommendTips;
}
